/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package entity;

import java.util.Date;

/**
 *
 * @author zhang
 */
public class Book {
    private int id;
    private String bookName;
    private String author;
    private Date publishDate;
    private String publishHouse;
    private String type;
    private String introduction;
    private int mark;
    private float price;
    private String cover;
    private Boolean isDelete;

    public Book(int id,String bookName, String author, Date publishDate, String publishHouse, String type, String introduction, int mark, float price, String cover,Boolean isDelete) {
        this.id=id;
        this.bookName = bookName;
        this.author = author;
        this.publishDate = publishDate;
        this.publishHouse = publishHouse;
        this.type = type;
        this.introduction = introduction;
        this.mark = mark;
        this.price = price;
        this.cover = cover;
        this.isDelete=isDelete;
    }

    public int getId() {
        return id;
    }

    public String getBookName() {
        return bookName;
    }

    public String getAuthor() {
        return author;
    }

    public Date getPublishDate() {
        return publishDate;
    }

    public String getPublishHouse() {
        return publishHouse;
    }

    public String getType() {
        return type;
    }

    public String getIntroduction() {
        return introduction;
    }

    public int getMark() {
        return mark;
    }

    public float getPrice() {
        return price;
    }

    public String getCover() {
        return cover;
    }

    public Boolean getIsDelete(){
        return isDelete;
    }
    
}
